#ifndef STRING_VECTOR_H_INCLUDED
#define STRING_VECTOR_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#pragma warning( disable: 4786 )

#include <string>
#include <vector>
#include "resource_traits.h"

class t_string_vector : public std::vector<std::string>
{
};

// specialization of resource template: describe prefix and outside extension for
// string vector
template <>
struct t_resource_traits<t_string_vector>
{
	static char const prefix[];
	static char const extension[];
};



bool read( std::streambuf& buffer, t_string_vector& text );
bool write( std::streambuf& buffer, t_string_vector const& text );

bool read( std::streambuf& buffer, std::string& text );
bool write( std::streambuf& buffer, std::string const& text );

#endif